home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4253 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.9 KB

  1. Path: yama.mcc.ac.uk!dmu!usenet
  2. From: Timothy Eves <se1te@dmu.ac.uk>
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: GadTools Question.
  5. Date: Mon, 26 Feb 1996 15:32:08 +0000
  6. Organization: De Montfort Univerity
  7. Message-ID: <3131D278.41C6@dmu.ac.uk>
  8. References: <0099E783.C4ED2DAC@netins.net>
  9. NNTP-Posting-Host: sargent.cms.dmu.ac.uk
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; OSF1 V3.2 alpha)
  14.  
  15. tempest@netins.net wrote:
  16. > How can one go about Updating the text inside the gadget after the 
  17. > window and gadget are open.  I have some definable gadgets and I want > to be able to display the new gadget text on the button without having > to open the window over again.  How can I just update it?  Maybe using > gerneric_kind?
  18.  
  19. Hmm.. The generic kind is certainly one way of doing that, but that
  20. would be diffcult.  I'm not sure if you can change the displayed label
  21. by using SetGTAttr(), I can check.  The only other OS legal way of doing
  22. it is to create a new GT gadget and replace the old one with it,
  23. remeberimg of course to remove the gadget list from the window before
  24. you go fiddling with any GadTools gadgets.
  25.  
  26. > Also I was wondering how I could make the Button_kind act like a > boolean type gadget.
  27.  
  28. No, you most certainly can't, not without risking breaking GadTools
  29. anyway.  The RKMs strictly forbid any poking around in a GadTools
  30. created gadget, except generic_kind.
  31. Any why? Thats why there are check box GadTools gadgets, and besides
  32. that would go against the concistency that gadtools was created to help
  33. produce.
  34.  
  35. Tim Eves
  36. ------------------------------------------------------------O----------------    
  37. Out of the gloom came a voice, "Smile  and  be  happy things| EMail To:
  38. could  be  worse",  it  said.  So I smiled and I was  happy,|
  39. se1te@dmu.ac.uk
  40. and  behold  things  did  get worse.                |
  41. ------------------------------------------------------------O----------------
  42.